//    Copyright (C) Kherty.  All rights reserved.
using System.Windows.Controls.Primitives;

using OpenLS.Spreadsheet.Drawing;

namespace OpenLS.Spreadsheet.UI
{
    using actualControl = Thumb;

    partial class MoveAdornerResources
    {
        public MoveAdornerResources()
        {
            InitializeComponent();
        }

        void OnDragDelta(object sender, DragDeltaEventArgs args)
        {
            actualControl grid = (actualControl)sender;
            Anchor anchor = (Anchor)grid.DataContext;
            anchor.Drag(args.HorizontalChange, args.VerticalChange);
            
        }
    }

}

